package com.example.yingjiguanli_demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 导师与学员匹配关系表
 * </p>
 *
 * @author scj
 * @since 2024-12-07
 */
@Getter
@Setter
@TableName("matches_teacher")
public class MatchesTeacher implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 匹配唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 对应的申请ID，关联 applications 表
     */
    private Integer applicationId;

    /**
     * 导师的用户ID，关联 users 表
     */
    private Integer mentorId;

    /**
     * 学员的用户ID，关联 users 表
     */
    private Integer studentId;

    /**
     * 匹配时间
     */
    private LocalDateTime matchedAt;
}
